# ================================================= #
# ************** mysql数据库 配置  ************** #
# ================================================= #
# 数据库地址
DATABASE_ENGINE = "django.db.backends.mysql"
# 数据库地址 改为自己数据库地址
# DATABASE_HOST = "172.17.0.1"
# DATABASE_HOST = "10.192.19.33"
# DATABASE_HOST = "127.0.0.1"
DATABASE_HOST = "172.17.0.1"
# 数据库端口
DATABASE_PORT = 3306
# 数据库用户名
DATABASE_USER = "airoad"
# DATABASE_USER = "root"
# 数据库密码
DATABASE_PASSWORD = "bq134524"
# DATABASE_PASSWORD = "123456"
# DATABASE_PASSWORD = "Zyw@qq.com1990"
# 数据库名
DATABASE_NAME = "airoad"
# DATABASE_NAME = "temp"

# ================================================= #
# ************** 其他 配置  ************** #
# ================================================= #
DEBUG = True  # 线上环境请设置为True
# 是否启用插件，不需要可以设置为False
ENABLE_PLUGINS = False
ALLOWED_HOSTS = ["*"]
DEFAULT_USER_PASSWORD = 'admin123456'
LOGIN_USER_INFO = dict()
# ================================================= #
# ************** CONSUL 配置  ************** #
# ================================================= #
CONSUL_HOST = '172.17.0.1'
# CONSUL_HOST = '10.192.100.173'
CONSUL_PORT = 8500
SERVICE_NAME = 'BaseService'
SERVICE_HOST = '172.17.0.1'
# SERVICE_HOST = '10.192.19.77'
SERVICE_PORT = 8011

# ================================================= #
# ************** CONSUL 配置  ************** #
# ================================================= #
REDIS_API_HOST = 'http://172.17.0.1:8010/RedisService/redis/'
# REDIS_API_HOST = 'http://10.192.19.33:8010/RedisService/redis/'
# REDIS_API_HOST = 'http://10.192.100.173:8010/RedisService/redis/'

